package com.dwd.hrm.service;

import com.dwd.hrm.domain.LoginUser;
import com.baomidou.mybatisplus.service.IService;
import com.dwd.hrm.domain.VipUser;
import com.dwd.hrm.util.AjaxResult;
import com.dwd.hrm.vo.AccessTokenVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wendi
 * @since 2021-03-05
 */
public interface ILoginUserService extends IService<LoginUser> {

    AjaxResult login(LoginUser loginUser);

    AccessTokenVo refresh(String refreshToken, Integer type);

    LoginUser insert(VipUser vipUser);
}
